package com.simple.rpc.component.registry;

import com.simple.rpc.component.SimpleRpcComponent;
import com.simple.rpc.config.ApplicationConfig;
import com.simple.rpc.config.ServiceConfig;

import java.util.Map;

/**
 * 空注册中心
 *
 * @author mhh
 * @since 2020/10/21
 */
@SimpleRpcComponent
public class SimpleRegistry implements Registry {

    @Override
    public void registry(ServiceConfig serviceConfig) {

    }

    @Override
    public void subscribe(ServiceConfig serviceConfig) {

    }

    @Override
    public Map<String, ApplicationConfig> getProviders(ServiceConfig serviceConfig) {
        return null;
    }

    @Override
    public void offline(ServiceConfig serviceConfig) {

    }
}
